package com.example.sfm.pojo.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.Email;
import lombok.Data;
import org.hibernate.validator.constraints.URL;

@Data
@Schema(description = "用户更新信息")
public class UserUpdateDto2 {
    @Schema(description = "用户名")
    private String username;
    @Email
    @Schema(description = "邮箱")
    private String email;
    @URL
    @Schema(description = "头像")
    private String avatar;
    @Schema(description = "手机号")
    private String phone;
}
